import Vue from 'vue';
import App from './App';
import { router } from './router';
import 'amfe-flexible';
import './css/common.css'
import { Toast } from 'vant';
import iceFox from '@/util/mixin';
import http from '@/http.js';
import VueClipboard from 'vue-clipboard2'
Vue.use(Toast);

Vue.prototype.$http = http;
VueClipboard.config.autoSetContainer = true // add this line
Vue.use(VueClipboard);
Vue.use(iceFox);
new Vue({
  router,
  el: '#app',
  render: h => h(App)
});
